home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor1 / copyrom.doc < prev    next >
Text File  |  1995-03-31  |  2KB  |  77 lines

  1. COPYROM.LIB 
  2. Author: [burhan h. afandi] 
  3.   Date: Sun Jul 07 1991  
  4.  
  5. COPYROM is a library which enables you to copy ROM to RAM.  You can send the 
  6. contents of a ROM card directly to a PC for storage, or copy the contents to a 
  7. port on your calculator.  COPYROM allows you to copy an entire port (ROM or 
  8. RAM) or just a selected number of files. 
  9.  
  10.  
  11. ==========STORAGE ON A COMPUTER DISK============= 
  12.  
  13. (COPY TO PC) COMMAND:->->PC 
  14.  
  15. If the argument is a number (0,1 or 2) the entire given port is copied. 
  16.  
  17. If the argument is a library identifier (:port#:library#) only the identified 
  18. library is copied. 
  19.  
  20. If the argument is a list of library identifiers, only the files in the list 
  21. are copied. 
  22.  
  23.  
  24. ===========COPY TO STACK===================== 
  25.  
  26. (COPY TO STACK) COMMAND: STK  
  27.                
  28. This command takes the same arguments as ->->PC, however, the result is 
  29. returned to stack. 
  30.  
  31.  
  32. ==============COPY TO PORT=================== 
  33.  
  34. (COPY TO PORT) COMMAND:  PORT 
  35.  
  36. This command takes an additional argument in level one which is the port# to 
  37. which you want to copy the files. 
  38.  
  39. So this command takes two arguments: 
  40. The level two argument may be a library identifier (:port#:library#), or a list 
  41. of library identifiers, or a port#(0,1 or 2).  The level one argument must be a 
  42. number (0, 1 or 2) (this is the port number to which you want to copy the 
  43. files). 
  44.  
  45. EXAMPLE: Let us assume that we have a ROM card in port #2 and we want to copy 
  46. this ROM card to a RAM card located in port #1. 
  47.  
  48. solution: 
  49.  
  50. simply Enter the source port (2) 
  51.              then the destination port(1) 
  52.              implement  port to copy port 2 to port one 
  53.  
  54. summary: 
  55.  
  56. 2 [ENTER] 
  57. 1 [ENTER] 
  58. Now press the key labeled {  PORT } 
  59.  
  60. The contents of port 2 are copied to port 1. 
  61.  
  62. This command also accepts a list containing two port #s as an argument. 
  63.  
  64. In the above example we could also have entered {2 1} as an argument where the 
  65. first element of the list is the source port# and the second is the destination 
  66. port#. 
  67.  
  68.  
  69. ==============ATTACHING COPY-ROM================= 
  70.  
  71. Transfer the library to your calculator.  Press [VAR] [COPYROM]. 
  72. COPYROM.LIB will appear on the stack.  Store it in a port as follows: 
  73.  
  74. 0 [STO]   or   1 [STO]   or   2 [STO] 
  75.  
  76. Turn your calculator OFF and then ON.  The library will attach itself. 
  77.